package com.young.springdemo.service.strategy.solve;

import com.young.springdemo.service.strategy.InspectorSolver;
import org.springframework.stereotype.Component;

@Component
public class ReplaceOrderGoodsSolver extends InspectorSolver {
    @Override
    public void solve(Long orderId, Long userId) {
        System.out.println("商品订单"+orderId+"开始替换订单");
    }

    @Override
    public String[] supports() {
        return new String[]{"REPLACE_ORDER_GOODS"};
    }
}
